<{include file="v2/header.html"}>
<main class="pt-24 pb-16">
        <!-- 面包屑导航 -->
        <section class="container mx-auto px-4 mb-6 scroll-reveal">
            <div class="text-sm text-lightink">
                <a href="index.html" class="hover:text-cinnabar">首页</a> 
                <i class="fa fa-angle-right mx-2 text-xs"></i> 
                <a href="classics.html" class="hover:text-cinnabar">典籍</a> 
                <i class="fa fa-angle-right mx-2 text-xs"></i> 
                <span>唐诗三百首</span>
            </div>
        </section>
        
        <!-- 典籍详情 -->
        <section class="container mx-auto px-4 mb-16">
            <div class="grid grid-cols-1 lg:grid-cols-3 gap-8">
                <!-- 左侧典籍信息 -->
                <div class="lg:col-span-2 space-y-8">
                    <!-- 典籍标题和基本信息 -->
                    <div class="bg-paper rounded-xl p-6 md:p-8 shadow-sm scroll-reveal">
                        <div class="flex flex-col md:flex-row md:items-start gap-6">
                            <div class="md:w-1/3">
                                <img src="https://picsum.photos/id/24/600/800" alt="唐诗三百首" class="w-full rounded-lg shadow-md">
                            </div>
                            <div class="md:w-2/3">
                                <div class="flex items-center gap-3 mb-3">
                                    <span class="bg-cinnabar text-rice text-sm px-3 py-1 rounded-full">诗集</span>
                                    <span class="bg-gray-100 text-ink text-xs px-3 py-1 rounded-full">唐代</span>
                                    <span class="bg-gray-100 text-ink text-xs px-3 py-1 rounded-full">精选本</span>
                                </div>
                                <h1 class="text-[clamp(1.5rem,3vw,2.2rem)] font-song font-bold mb-4">唐诗三百首</h1>
                                <p class="text-lightink mb-6">蘅塘退士 · 清代编选</p>
                                
                                <div class="grid grid-cols-1 sm:grid-cols-2 gap-4 mb-6">
                                    <div>
                                        <p class="text-sm text-lightink">收录诗人</p>
                                        <p class="font-medium">77位</p>
                                    </div>
                                    <div>
                                        <p class="text-sm text-lightink">收录诗作</p>
                                        <p class="font-medium">311首</p>
                                    </div>
                                    <div>
                                        <p class="text-sm text-lightink">成书年代</p>
                                        <p class="font-medium">清代</p>
                                    </div>
                                    <div>
                                        <p class="text-sm text-lightink">体裁</p>
                                        <p class="font-medium">五言古诗、七言古诗、五言律诗等</p>
                                    </div>
                                </div>
                                
                                <div class="flex flex-wrap gap-3">
                                    <button class="flex items-center gap-2 bg-cinnabar text-rice px-4 py-2 rounded-full hover:bg-opacity-90 transition-all duration-300">
                                        <i class="fa fa-heart-o"></i> 收藏典籍
                                    </button>
                                    <button class="flex items-center gap-2 border border-ink text-ink px-4 py-2 rounded-full hover:bg-ink hover:text-rice transition-all duration-300">
                                        <i class="fa fa-share-alt"></i> 分享
                                    </button>
                                    <button class="flex items-center gap-2 border border-ink text-ink px-4 py-2 rounded-full hover:bg-ink hover:text-rice transition-all duration-300">
                                        <i class="fa fa-headphones"></i> 听读模式
                                    </button>
                                </div>
                            </div>
                        </div>
                    </div>
                    
                    <!-- 典籍简介 -->
                    <div class="bg-paper rounded-xl p-6 md:p-8 shadow-sm scroll-reveal">
                        <h2 class="text-xl md:text-2xl font-song font-bold mb-6 pb-3 border-b border-gray-200">典籍简介</h2>
                        <div class="classic-content text-ink/85 leading-relaxed">
                            <p>《唐诗三百首》是一部流传甚广的唐诗选集，由清代乾隆年间的蘅塘退士（孙洙）编选。其选诗标准是"因专就唐诗中脍炙人口之作，择其尤要者"，既注重作品的艺术价值，也考虑到初学者的接受程度。</p>
                            <p>全书共选入唐代77位诗人的311首诗，其中杜甫的诗最多，有38首，其次是李白，有29首，王维29首，李商隐22首。编排上按诗体分为五言古诗、七言古诗、五言律诗、七言律诗、五言绝句、七言绝句六类，每类下再以作者先后为序。</p>
                            <p>《唐诗三百首》的命名源于"诗三百"的说法，即《诗经》三百篇，蘅塘退士希望以此书作为唐诗的入门读物，"熟读唐诗三百首，不会作诗也会吟"便源于此。该书自问世以来，成为流传最广、影响最大的唐诗普及读本，至今仍深受读者喜爱。</p>
                        </div>
                    </div>
                    
                    <!-- 内容节选 -->
                    <div class="bg-paper rounded-xl p-6 md:p-8 shadow-sm scroll-reveal">
                        <div class="flex justify-between items-center mb-6">
                            <h2 class="text-xl md:text-2xl font-song font-bold">内容节选</h2>
                            <div class="flex items-center gap-2 text-sm">
                                <span class="text-lightink">显示：</span>
                                <select class="border border-gray-300 rounded-lg px-2 py-1 focus:outline-none focus:ring-1 focus:ring-cinnabar">
                                    <option>原文+注释</option>
                                    <option>仅原文</option>
                                    <option>原文+译文</option>
                                    <option>全文对照</option>
                                </select>
                            </div>
                        </div>
                        
                        <!-- 诗篇1 -->
                        <div class="mb-10 pb-6 border-b border-gray-100">
                            <h3 class="font-song text-lg md:text-xl font-bold mb-4">静夜思 - 李白</h3>
                            <div class="bg-rice/50 p-4 rounded-lg mb-4 font-song text-lg leading-loose">
                                床前明月光，疑是地上霜。<br>
                                举头望明月，低头思故乡。
                            </div>
                            
                            <div class="space-y-3 text-sm text-lightink">
                                <p><span class="font-medium text-ink">注释：</span></p>
                                <p>1. 静夜思：安静的夜晚产生的思绪。</p>
                                <p>2. 疑：好像。</p>
                                <p>3. 举头：抬头。</p>
                            </div>
                            
                            <div class="mt-4 text-ink/80">
                                <p><span class="font-medium">译文：</span>床前洒满了明亮的月光，好像地上结了一层白霜。抬头仰望天空中的明月，低头思念远方的故乡。</p>
                            </div>
                        </div>
                        
                        <!-- 诗篇2 -->
                        <div class="mb-10 pb-6 border-b border-gray-100">
                            <h3 class="font-song text-lg md:text-xl font-bold mb-4">望庐山瀑布 - 李白</h3>
                            <div class="bg-rice/50 p-4 rounded-lg mb-4 font-song text-lg leading-loose">
                                日照香炉生紫烟，遥看瀑布挂前川。<br>
                                飞流直下三千尺，疑是银河落九天。
                            </div>
                            
                            <div class="space-y-3 text-sm text-lightink">
                                <p><span class="font-medium text-ink">注释：</span></p>
                                <p>1. 香炉：指香炉峰，在庐山。</p>
                                <p>2. 紫烟：指日光透过云雾，远望如紫色的烟云。</p>
                                <p>3. 前川：山前面的河水。</p>
                                <p>4. 银河：古人指银河系构成的带状星群。</p>
                                <p>5. 九天：天空最高处。</p>
                            </div>
                            
                            <div class="mt-4 text-ink/80">
                                <p><span class="font-medium">译文：</span>太阳照耀香炉峰，生出袅袅紫烟。远远望去，瀑布像一条白练挂在山前。水流从三千尺的高处直泻而下，使人怀疑是银河从九天倾泻到人间。</p>
                            </div>
                        </div>
                        
                        <!-- 诗篇3 -->
                        <div class="mb-8">
                            <h3 class="font-song text-lg md:text-xl font-bold mb-4">春望 - 杜甫</h3>
                            <div class="bg-rice/50 p-4 rounded-lg mb-4 font-song text-lg leading-loose">
                                国破山河在，城春草木深。<br>
                                感时花溅泪，恨别鸟惊心。<br>
                                烽火连三月，家书抵万金。<br>
                                白头搔更短，浑欲不胜簪。
                            </div>
                            
                            <div class="space-y-3 text-sm text-lightink">
                                <p><span class="font-medium text-ink">注释：</span></p>
                                <p>1. 国破：指安史之乱后唐朝都城长安被攻破。</p>
                                <p>2. 感时：为国家的时局而感伤。</p>
                                <p>3. 烽火：古时边防报警的烟火，这里指安史之乱的战火。</p>
                                <p>4. 抵万金：极言家信的珍贵。</p>
                                <p>5. 浑：简直。</p>
                                <p>6. 不胜簪：插不上簪子。古代男子留长发，束发用簪。</p>
                            </div>
                            
                            <div class="mt-4 text-ink/80">
                                <p><span class="font-medium">译文：</span>长安沦陷，国家破碎，只有山河依旧；春天来了，人烟稀少的长安城里草木茂密。感伤国事，看到美丽的花儿反而流泪；痛恨离别，听到婉转的鸟鸣反而心惊。连绵的战火已经持续了半年多，一封家信抵得上万两黄金。愁绪缠绕，搔头思考，白发越搔越稀疏，简直要插不上簪子了。</p>
                            </div>
                        </div>
                        
                        <!-- 分页 -->
                        <div class="flex justify-center items-center gap-2 mt-8">
                            <button class="page-btn page-btn-disabled w-10 h-10 flex items-center justify-center rounded-full border border-gray-300">
                                <i class="fa fa-angle-left"></i>
                            </button>
                            <button class="page-btn page-btn-active w-10 h-10 flex items-center justify-center rounded-full border border-gray-300">1</button>
                            <button class="page-btn w-10 h-10 flex items-center justify-center rounded-full border border-gray-300">2</button>
                            <button class="page-btn w-10 h-10 flex items-center justify-center rounded-full border border-gray-300">3</button>
                            <span>...</span>
                            <button class="page-btn w-10 h-10 flex items-center justify-center rounded-full border border-gray-300">12</button>
                            <button class="page-btn w-10 h-10 flex items-center justify-center rounded-full border border-gray-300">
                                <i class="fa fa-angle-right"></i>
                            </button>
                        </div>
                    </div>
                </div>
                
                <!-- 右侧边栏 -->
                <div class="space-y-8">
                    <!-- 编选者介绍 -->
                    <div class="bg-paper rounded-xl p-6 shadow-sm sticky top-24 scroll-reveal">
                        <h3 class="font-song font-bold text-lg mb-4 pb-3 border-b border-gray-200">编选者介绍</h3>
                        <div class="flex items-start gap-4 mb-4">
                            <div class="w-16 h-16 rounded-full bg-gray-200 overflow-hidden flex-shrink-0">
                                <img src="https://picsum.photos/id/64/100/100" alt="蘅塘退士" class="w-full h-full object-cover">
                            </div>
                            <div>
                                <h4 class="font-medium">蘅塘退士（孙洙）</h4>
                                <p class="text-sm text-lightink">1711-1778，清代文学家</p>
                            </div>
                        </div>
                        <p class="text-sm text-ink/80 leading-relaxed">
                            孙洙，字临西，一字芩西，号蘅塘，晚号退士，江苏无锡人。清代乾隆年间著名学者，《唐诗三百首》的编选者。他编选此书的目的是"俾童而习之，白首亦莫能废"，希望为初学者提供一个优秀的唐诗选本。
                        </p>
                    </div>
                    
                    <!-- 相关推荐 -->
                    <div class="bg-paper rounded-xl p-6 shadow-sm sticky top-24 scroll-reveal">
                        <h3 class="font-song font-bold text-lg mb-6 pb-3 border-b border-gray-200">相关典籍</h3>
                        <div class="space-y-4">
                            <a href="#" class="flex gap-3 group">
                                <div class="w-20 h-20 rounded overflow-hidden flex-shrink-0">
                                    <img src="https://picsum.photos/id/20/200/200" alt="宋词三百首" class="w-full h-full object-cover group-hover:scale-110 transition-transform duration-500">
                                </div>
                                <div>
                                    <h4 class="font-medium group-hover:text-cinnabar transition-colors">宋词三百首</h4>
                                    <p class="text-xs text-lightink">上疆村民 · 清代编选</p>
                                </div>
                            </a>
                            <a href="#" class="flex gap-3 group">
                                <div class="w-20 h-20 rounded overflow-hidden flex-shrink-0">
                                    <img src="https://picsum.photos/id/25/200/200" alt="李太白全集" class="w-full h-full object-cover group-hover:scale-110 transition-transform duration-500">
                                </div>
                                <div>
                                    <h4 class="font-medium group-hover:text-cinnabar transition-colors">李太白全集</h4>
                                    <p class="text-xs text-lightink">李白 · 唐代</p>
                                </div>
                            </a>
                            <a href="#" class="flex gap-3 group">
                                <div class="w-20 h-20 rounded overflow-hidden flex-shrink-0">
                                    <img src="https://picsum.photos/id/26/200/200" alt="杜工部集" class="w-full h-full object-cover group-hover:scale-110 transition-transform duration-500">
                                </div>
                                <div>
                                    <h4 class="font-medium group-hover:text-cinnabar transition-colors">杜工部集</h4>
                                    <p class="text-xs text-lightink">杜甫 · 唐代</p>
                                </div>
                            </a>
                            <a href="#" class="flex gap-3 group">
                                <div class="w-20 h-20 rounded overflow-hidden flex-shrink-0">
                                    <img src="https://picsum.photos/id/27/200/200" alt="唐诗别裁集" class="w-full h-full object-cover group-hover:scale-110 transition-transform duration-500">
                                </div>
                                <div>
                                    <h4 class="font-medium group-hover:text-cinnabar transition-colors">唐诗别裁集</h4>
                                    <p class="text-xs text-lightink">沈德潜 · 清代编选</p>
                                </div>
                            </a>
                        </div>
                    </div>
                </div>
            </div>
        </section>
        
        <!-- 读者评论 -->
        <section class="container mx-auto px-4 mb-16">
            <div class="bg-paper rounded-xl p-6 md:p-8 shadow-sm scroll-reveal">
                <h2 class="text-xl md:text-2xl font-song font-bold mb-8">读者评论</h2>
                
                <!-- 评论输入框 -->
                <div class="mb-10">
                    <textarea placeholder="分享你的阅读感受..." class="w-full border border-gray-300 rounded-lg p-4 focus:outline-none focus:ring-2 focus:ring-cinnabar focus:border-transparent resize-none h-24"></textarea>
                    <div class="flex justify-end mt-3">
                        <button class="bg-cinnabar text-rice px-6 py-2 rounded-full hover:bg-opacity-90 transition-all duration-300">
                            发表评论
                        </button>
                    </div>
                </div>
                
                <!-- 评论列表 -->
                <div class="space-y-6">
                    <!-- 评论1 -->
                    <div class="pb-6 border-b border-gray-100">
                        <div class="flex items-start gap-4">
                            <div class="w-10 h-10 rounded-full overflow-hidden flex-shrink-0">
                                <img src="https://picsum.photos/id/64/100/100" alt="用户头像" class="w-full h-full object-cover">
                            </div>
                            <div class="flex-1">
                                <div class="flex justify-between items-center mb-2">
                                    <h4 class="font-medium">文海泛舟</h4>
                                    <span class="text-xs text-lightink">2023-05-12</span>
                                </div>
                                <p class="text-ink/80 mb-3">《唐诗三百首》真是唐诗的精华选集，读来满口生香。特别是李白和杜甫的诗作，一豪放一沉郁，各有千秋。每次读都有新的体会，值得反复品味。</p>
                                <div class="flex items-center gap-4 text-sm text-lightink">
                                    <button class="flex items-center gap-1 hover:text-cinnabar transition-colors">
                                        <i class="fa fa-thumbs-o-up"></i> 有用 (24)
                                    </button>
                                    <button class="hover:text-cinnabar transition-colors">回复</button>
                                </div>
                            </div>
                        </div>
                    </div>
                    
                    <!-- 评论2 -->
                    <div class="pb-6 border-b border-gray-100">
                        <div class="flex items-start gap-4">
                            <div class="w-10 h-10 rounded-full overflow-hidden flex-shrink-0">
                                <img src="https://picsum.photos/id/65/100/100" alt="用户头像" class="w-full h-full object-cover">
                            </div>
                            <div class="flex-1">
                                <div class="flex justify-between items-center mb-2">
                                    <h4 class="font-medium">古韵爱好者</h4>
                                    <span class="text-xs text-lightink">2023-04-28</span>
                                </div>
                                <p class="text-ink/80 mb-3">作为一名古典文学爱好者，我认为《唐诗三百首》是了解唐代诗歌的最佳入门读物。蘅塘退士的选本很有眼光，既包含了大家熟知的名篇，也收录了一些不太为大众所知但艺术性很高的作品。</p>
                                <div class="flex items-center gap-4 text-sm text-lightink">
                                    <button class="flex items-center gap-1 hover:text-cinnabar transition-colors">
                                        <i class="fa fa-thumbs-o-up"></i> 有用 (18)
                                    </button>
                                    <button class="hover:text-cinnabar transition-colors">回复</button>
                                </div>
                            </div>
                        </div>
                    </div>
                    
                    <!-- 评论3 -->
                    <div>
                        <div class="flex items-start gap-4">
                            <div class="w-10 h-10 rounded-full overflow-hidden flex-shrink-0">
                                <img src="https://picsum.photos/id/66/100/100" alt="用户头像" class="w-full h-full object-cover">
                            </div>
                            <div class="flex-1">
                                <div class="flex justify-between items-center mb-2">
                                    <h4 class="font-medium">诗词初学者</h4>
                                    <span class="text-xs text-lightink">2023-03-15</span>
                                </div>
                                <p class="text-ink/80 mb-3">刚开始学习唐诗，老师推荐了这本《唐诗三百首》。注释很详细，译文也通俗易懂，非常适合我这样的初学者。每天读几首，感觉自己对唐诗的理解越来越深了。</p>
                                <div class="flex items-center gap-4 text-sm text-lightink">
                                    <button class="flex items-center gap-1 hover:text-cinnabar transition-colors">
                                        <i class="fa fa-thumbs-o-up"></i> 有用 (32)
                                    </button>
                                    <button class="hover:text-cinnabar transition-colors">回复</button>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 查看更多评论 -->
                <div class="text-center mt-8">
                    <button class="border border-ink text-ink px-6 py-2 rounded-full hover:bg-ink hover:text-rice transition-all duration-300">
                        查看更多评论
                    </button>
                </div>
            </div>
        </section>
    </main>
    <script>
        // 分页按钮点击事件
        $('.page-btn:not(.page-btn-disabled)').click(function() {
            $('.page-btn').removeClass('page-btn-active');
            $(this).addClass('page-btn-active');
            // 实际项目中这里会加载对应页的内容
        });
        
        // 页面加载时触发一次滚动检查
        $(window).trigger('scroll');

        // 从API加载典籍列表数据
        $(document).ready(function() {
            // 这里是通过API获取典籍列表的示例代码
            // 实际项目中会在classics.html页面实现此功能
            /*
            $.ajax({
                url: 'index.php?c=main&a=getClassicList',
                type: 'GET',
                dataType: 'json',
                success: function(data) {
                    // 处理返回的典籍列表数据
                    console.log('典籍列表数据:', data);
                    // 动态生成典籍列表
                    // generateClassicList(data);
                },
                error: function(xhr, status, error) {
                    console.error('加载典籍列表失败:', error);
                }
            });
            */
        });
    </script>
<{include file="v2/footer.html"}>
